package com.jzo2o.orders.dispatch.strategys;

import com.jzo2o.orders.dispatch.model.dto.ServeProviderDTO;
import com.jzo2o.orders.dispatch.rules.IDispatchRule;
import lombok.Builder;
import lombok.ToString;

import java.util.List;

/**
 * 规则接口
 */
public interface IProcessRule {

    /**
     * 根据派单规则过滤服务人员
     *
     * @param serveProviderDTOS 服务人员集合
     * @return 服务人员集合
     */
    List<ServeProviderDTO> filter(List<ServeProviderDTO> serveProviderDTOS);
}